package scomA2Proj;

import System.Diagnostics.Stopwatch;

public class Retailer {
	private MulticellBuffer _mcBuff;
	private decimal _lastPrice = -1;
	private int _threadID = -1;
	private boolean _shouldStop = false;
	private Stopwatch _stopwatchR = new Stopwatch();
	public int _cCNum;

	/**
	 * &lt;summary&gt;
	 * Creates a Retailer.
	 * &lt;/summary&gt;
	 * &lt;param name="buf"&gt;The multicell buffer&lt;/param&gt;
	 * &lt;param name="ccNum"&gt;Credit Card number.&lt;/param&gt;
	 */
	public Retailer(MulticellBuffer aBuf, int aCcNum) {
		throw new UnsupportedOperationException();
	}

	/**
	 * Keep the retailer thread going.
	 */
	public void retailerStuff() {
		throw new UnsupportedOperationException();
	}

	/**
	 * Stop the retailer thread.
	 */
	public void stop() {
		throw new UnsupportedOperationException();
	}

	/**
	 * &lt;summary&gt;
	 * Handles the order complete.
	 * 1. Checks if this is the original Retailer
	 * 2. Calculates and prints the Order completion time and prints the reciept.
	 * &lt;/summary&gt;
	 * &lt;param name="reciept"&gt;The Order receipt from the Chicken farm.&lt;/param&gt;
	 */
	public void OrderCompleteEventHandler(OrderReciept aReciept) {
		throw new UnsupportedOperationException();
	}

	/**
	 * &lt;summary&gt;
	 * Callback for price cut event sent from chicken farm.
	 * &lt;/summary&gt;
	 * &lt;param name="newPrice"&gt;&lt;/param&gt;
	 */
	public void PriceCutEventHandler(decimal aNewPrice) {
		throw new UnsupportedOperationException();
	}

	public void setCCNum(int aCCNum) {
		this._cCNum = aCCNum;
	}

	public int getCCNum() {
		return this._cCNum;
	}
}